assume cs:abc
abc segment
startp:
mov ax,2000h
mov ds,ax
mov bx,1000h
mov al,[bx]
inc bx
inc bx
mov [bx],ax
inc bx
inc bx
mov [bx],ax
inc bx
mov [bx],al
inc bx
mov [bx],al
mov ax,4c00h
int 21h
abc ends
end startp
